package org.budo.redis.repository.spring.data.graph;

import org.budo.graph.annotation.SpringGraph;
import org.springframework.data.redis.connection.RedisConnectionFactory;

/**
 * @author lmw
 */
public interface BudoSpringDataRedisGraphService {
    @SpringGraph
    byte[] get(RedisConnectionFactory redisConnectionFactory, byte[] key);

    @SpringGraph
    String set(RedisConnectionFactory redisConnectionFactory, byte[] key, byte[] value);

    @SpringGraph
    Long del(RedisConnectionFactory redisConnectionFactory, byte[]... keys);
}